<!doctype html>
<html lang="zh">

<head>
	<meta charset="UTF-8">
	<meta name="viewport"
		content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>
		<?php echo $web['title'];?> - <?php echo $web['name'];?>
	</title>
	<meta name="description" content="<?php echo $web['description'];?>">
	<meta name="keywords" content="<?php echo $web['keywords'];?>">
	<link href="/assets/default/css/site.min.css?m=1.0.2.6" rel="stylesheet">
	<link href="/assets/default/css/bootstrap.min.css" rel="stylesheet">
	<link href="/assets/default/css/oneui.css?v=3.1.0.1" rel="stylesheet">
	<link href="/assets/default/css/font-awesome.min.css?v=4.7.0" rel="stylesheet">
	<link href="/assets/default/css/sidenav.css?v=1.0.11" rel="stylesheet">
	<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
	<script>
		var web_time = "<?php echo $web['time'];?>"; //网站创建时间
	</script>
</head>

<body>
	<header class="site-header">
		<nav class="nav_jsxs">
			<span style="float: left;"><a class="logo_jsxs" href=""></a></span>
			<a href="../">首页</a>
			<?php if(isset($_SESSION['userinfo']['u_name'])):?>
			<a href="/user/index.html">个人中心</a>
			<?php else:?>
			<a href="/user/login.html">登录</a>
			<?php endif;?>
		</nav>
		<div class="box-text">
			<h1><?php echo $web['title'];?></h1>
			<p>稳定、快速、免费的 API 接口服务<br>
				<?php if(isset($list)):?>
				<span class="package-amount">共收录了
					<strong>
						<?php echo count($list);?>
					</strong>个接口 · 今日调用
					<?php echo $dayCount['count'];?> 次
				</span>
				<?php endif;?>
			</p>
			<!-- 搜索框 -->
			<div class="search-wraper" role="search">
				<div class="form-group">
				<!--	<input class="form-control search clearable" placeholder="搜索API如：一言" autocomplete="off" autofocus=""
						tabindex="0" autocorrect="off" autocapitalize="off" v-model='search' spellcheck="false"
						id="api-search" />-->
					<input autocapitalize="off" autocomplete="off" autocorrect="off" autofocus=""
						class="form-control search clearable" id="search" placeholder="找不到想要的API？试试搜索吧！"
						spellcheck="false" tabindex="0" v-model='search' />
					<i class="fa fa-search" id="api-search-tu"></i>
				</div>
			</div>
		</div>

	</header>